package vn.co.thn.web.demo_app_engine.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import vn.co.thn.web.demo_app_engine.model.HomeModel;

@SuppressWarnings("serial")
public class HomeController extends ControllerBase {

	@Override
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		super.doGet(request, response);
		HomeModel model = new HomeModel();
		model.Add();
		Forward("index");
	}

	@Override
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		super.doPost(request, response);

	}
}
